﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
  public class NgonNgu_BLL
    {
      NgonNgu_Data ngonngu_data = new NgonNgu_Data();
        public DataTable TaoBang(string sql)
        {
            return ngonngu_data.TaoBang(sql);
        }
        public DataTable LayDuLieu()
        {
            return ngonngu_data.LayDuLieu();
        }
        public int Insert(NgonNgu_Public maNgonNgu, NgonNgu_Public tenNgonNgu, NgonNgu_Public ghiChu)
        {

            return ngonngu_data.Insert(maNgonNgu,tenNgonNgu,ghiChu);
        }
        public int Update(NgonNgu_Public maNgonNgu, NgonNgu_Public tenNgonNgu, NgonNgu_Public ghiChu)
        {

            return ngonngu_data.Update(maNgonNgu,tenNgonNgu,ghiChu);
        }
        public int Delete(NgonNgu_Public maNgonNgu)
        {

            return ngonngu_data.Delete(maNgonNgu);
        }
    }
}
